package com.ruoyi.parking.service;

import java.util.List;
import com.ruoyi.parking.domain.ParkingAppointment;

/**
 * 停车预约Service接口
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public interface IParkingAppointmentService 
{
    /**
     * 查询停车预约
     * 
     * @param id 停车预约主键
     * @return 停车预约
     */
    public ParkingAppointment selectParkingAppointmentById(Long id);

    /**
     * 查询停车预约列表
     * 
     * @param parkingAppointment 停车预约
     * @return 停车预约集合
     */
    public List<ParkingAppointment> selectParkingAppointmentList(ParkingAppointment parkingAppointment);

    /**
     * 新增停车预约
     * 
     * @param parkingAppointment 停车预约
     * @return 结果
     */
    public int insertParkingAppointment(ParkingAppointment parkingAppointment);

    /**
     * 修改停车预约
     * 
     * @param parkingAppointment 停车预约
     * @return 结果
     */
    public int updateParkingAppointment(ParkingAppointment parkingAppointment);

    /**
     * 批量删除停车预约
     * 
     * @param ids 需要删除的停车预约主键集合
     * @return 结果
     */
    public int deleteParkingAppointmentByIds(Long[] ids);

    /**
     * 删除停车预约信息
     * 
     * @param id 停车预约主键
     * @return 结果
     */
    public int deleteParkingAppointmentById(Long id);
}
